package com.java.action;

import com.java.pojo.ComRoom;
import com.java.service.IRoomService;

public class RoomInfoAction {
	public IRoomService roomService;
	public String id;
	public ComRoom room;
	
	public String execute(){
		room = roomService.getRoom(id);
		return "success";
	}
	
	public IRoomService getRoomService() {
		return roomService;
	}

	public void setRoomService(IRoomService roomService) {
		this.roomService = roomService;
	}

	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public ComRoom getRoom() {
		return room;
	}
	public void setRoom(ComRoom room) {
		this.room = room;
	}
}
